package com.typhoon.spring_boot_demo1.constants;

/**
 * 通用查询类型枚举类
 *
 */
public enum CommonSearchTypeEnum {

    USER(1,"会员编号"),
    REFUND(2,"退款编号"),
    ORDER(3,"订单编号"),
    ;


    private Integer code;
    private String desc;

    CommonSearchTypeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
